package cn.org.farseer.sweetftp.manager.site;

import java.io.Serializable;

/**
 * 作者 : [Farseer.org] 简洋  —  2009-7-28
 * 
 * 项目 : [Farseer.org] SweetFTP
 */
public class Site implements Serializable
{
	private static final long serialVersionUID = 1L;
	
	public Site()
	{}
	
	public Site(String name, String url, String username,
			String password, String port, String note, SiteGroup siteGroup)
	{
		super();
		this.name = name;
		this.url = url;
		this.username = username;
		this.password = password;
		this.port = port;
		this.note = note;
		this.siteGroup = siteGroup;
	}
	/**
	 * 唯一标识
	 */
	private String id;    
	
	/**
	 * 站点名称
	 */
	private String name;  
	
	/**
	 * 站点地址
	 */
	private String url;      
	
	/**
	 * 用户名
	 */
	private String username;     
	
	/**
	 * 密码
	 */
	private String password;   
	
	/**
	 * 端口
	 */
	private String port = "21";    
	
	/**
	 * 说明
	 */
	private String note;         
	
	/**
	 * 所在站点组
	 */
	private SiteGroup siteGroup; 
	
	
	public SiteGroup getSiteGroup()
	{
		return siteGroup;
	}
	public void setSiteGroup(SiteGroup siteGroup)
	{
		this.siteGroup = siteGroup;
	}
	public String getId()
	{
		return id;
	}
	public void setId(String id)
	{
		this.id = id;
	}
	public String getName()
	{
		return name;
	}
	public void setName(String name)
	{
		this.name = name;
	}
	public String getUrl()
	{
		return url;
	}
	public void setUrl(String url)
	{
		this.url = url;
	}
	public String getUsername()
	{
		return username;
	}
	public void setUsername(String username)
	{
		this.username = username;
	}
	public String getPassword()
	{
		return password;
	}
	public void setPassword(String password)
	{
		this.password = password;
	}
	public String getPort()
	{
		return port;
	}
	public void setPort(String port)
	{
		this.port = port;
	}
	public String getNote()
	{
		return note;
	}
	public void setNote(String note)
	{
		this.note = note;
	}
	
}
